package com.systop.score.feign;

import com.systop.common.util.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "STUDENT")
@Component
public interface StudentFeign {
    @GetMapping("/student/findBysno/{s_no}")
    CommonResult findbyname(@PathVariable("s_no") String s_no);
}
